<table border=1>
<tr class="classmenu" >
<td colspan=5>
Cart Review
</td>
</tr>
<tr class="classtopmenu">
<td>
Order
</td>
<td>
CC id
</td>
<td>
CC Numbers
</td>
<td>
Country
</td>
<td>
Price
</td>
<td>
Remove
</td>
</tr>
<?php
$i=1;
$TotalMoney=0;
foreach($_SESSION["cc"] as $ShowCart)
{
	?>
	<tr>
	<td>
	<?php echo $i;?>
	</td>
	<td>
	<?php echo $ShowCart['ccid']; ?>
	</td>
	<td>
	<?php echo $ShowCart['ccnum']; ?>
	</td>
	<td>
	<?php echo $Country; ?>
	</td>
	<td>
	<?php 
	$TotalMoney=$ShowCart['ccprice']+$TotalMoney;
	
	echo $ShowCart['ccprice']; ?>
	</td>
	<td>
	<a href="#" onclick="javascript:removeccid(<?php echo $ShowCart['ccid']; ?>)" >Remove</a>
	</td>
	</tr>
	<?php 
	$i++;
}
?>
<tr>
<td colspan="3">
<b>Money have to Pay</b>
</td>
<td colspan="2">
<b>
<?php
echo $TotalMoney; ?>
</b>
</td>
</tr>
<tr>
<td colspan=2>
<a href="#" onclick="javascript:emptycart();" >Empty Cart</a>
</td>
<td colspan=2>
<a href="checkout.php" >Check Out</a>
</td>
<td id="balance"></td>
</tr>
</table>